﻿using System;
using System.Collections.Generic;
using DLM.Domain.Model;
using DLM.Infrastructure.Domain;
using DLM.Domain.DTO;

namespace DLM.Domain.Repositories
{
    public interface IOrderRepository : IRepository<Order, int>
    {
        IEnumerable<Order> FindByAccount(string account,int pageIndex, int pageSize);

        IEnumerable<Order> FindByUser(int userID, int pageIndex, int pageSize);

        Order FindByOrderNo(string orderNo);

        Order FindByTradeNo(string tradeNo);


    }
}
